package com.yst.webplugin.api;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;

/**
 * field info of entity
 */
@Data
@Accessors(chain = true)
public class ApiField implements Serializable {
    /**
     * name of field
     */
    private String fieldName;
    /**
     * description for field
     */
    private String description;
    /**
     * example for field
     */
    private String valueExample;
    /**
     * type of field
     */
    private String fieldType;

    private List<String> genericClassChain=new LinkedList<>();
    /**
     * 必须参数类名
     */
    private List<String> requireClassGroup;
}
